package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.BookOrder;
import mianyang.zhangsan.com.pojo.OrderCustom;

import java.util.List;

public interface BookOrderService {
    Page<BookOrder> queryPages(int pageNo);

    void addOrder(BookOrder order);

    Page<BookOrder> queryPagesWrapper(int page, int rows, BookOrder order);

    OrderCustom packing(BookOrder item);

    void updateOrder(int orderId, BookOrder order);

    void deletes(String orderIds);

    void delete(String orderId);

    List<BookOrder> queryListByWrapper(BookOrder order);

    QueryWrapper<BookOrder> queryWrapper(BookOrder order);
}
